home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_PICT / Testing / hex_tests / comment=setgreylevel.hex < prev    next >
Text File  |  1995-06-12  |  2KB  |  55 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. 02 AA AA AA AA AA AA AA AA % fill pat
  10. 09 FF FF FF FF FF FF FF FF % pn pat
  11. 0A AA 55 AA 55 AA 55 AA 55 % back pat
  12.  
  13. % draw lines along its four sides
  14. 20 0010 0000 0010 00FF
  15. 20 0000 0010 00FF 0010
  16. 20 0050 0000 0050 00FF
  17. 20 0000 0050 00FF 0050
  18.  
  19. 20 0000 0080 00FF 0080
  20. 20 0000 00C0 00FF 00C0
  21.  
  22. 20 0080 0000 0080 00FF
  23. 20 00C0 0000 00C0 00FF
  24.  
  25. 09 FF FF FF FF FF FF FF FF % pn pat
  26.  
  27. %
  28. %    Test the non-recommended SetGrayLevel pictcomment by making
  29. %    our black rectangle grey.
  30. %
  31.  
  32.  
  33. % Frame a rectangle
  34. 30 0010 0010 0050 0050
  35.  
  36. %
  37. %    Make everyuthing herafter grey...
  38. %
  39. A1 00c5 0004 00008000
  40.  
  41. % paint an adjacent one
  42. 31 0010 0080 0050 00C0
  43.  
  44. % try to invert the painted one (ha ha)
  45. 33 0010 0080 0050 00C0
  46.  
  47. % fill one below one
  48. 34 0080 0080 00C0 00C0
  49.  
  50. % erase a different one   (should appear in its normal place)
  51. 32 0080 0010 00C0 0050
  52.  
  53.  
  54. FF    % end
  55.